package com.example.zwlyz;

import com.example.zwlyz.models.Article;

import java.util.ArrayList;
import java.util.List;

public class ArticleManager {
    private static List<Article> articles = new ArrayList<>();

    public static void addArticle(Article article) {
        articles.add(article);
    }

    public static List<Article> getAllArticles() {
        return articles;
    }
}